﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace SMS.Domain.Entities
{
    public class Reto:Auditable
    {
        public int RetoId { get; set; }

        [Required()]
        [StringLength(4000)]
        public string Descripcion { get; set; }
        [Required()]
        [StringLength(500)]
        public string Titulo { get; set; }

        //Propiedaddes de navegación
        public virtual ICollection<Respuesta> Respuestas { get; set; }
        public virtual ICollection<Categoria> Categorias { get; set; }
        public  int UserOngId { get; set; }
        public virtual UserOng UserONG { get; set; }
    }
}
